<script language="javascript1.1" type="text/javascript">
	window.setTimeout("window.location.reload();", 3000);
	var nSent=Number({$status_data.sended});
	var nLeft=Number({$status_data.notsended});
	var nPercent;
	//top.status=isNaN(nLeft)+' '+ nLeft+'>0'+Math.random(10);
	if (!isNaN(nLeft) && nLeft>0) {ldelim}
		nPercent=Number({math equation="(x/(x+y))*z" x=$status_data.sended y=$status_data.notsended z=100});		
		top.status=Math.round(nPercent*100)/100+'% ( '+nSent+' / '+(Number(nSent+nLeft))+' )';
		top.document.getElementById('bar').style.width=Math.round(nPercent)+'%';
		top.document.getElementById('label').innerHTML=Math.round(nPercent*100)/100+'% ( '+nSent+' / '+(Number(nSent+nLeft))+' )';
	{rdelim}
</script>
